package tests;
import static org.junit.Assert.*;

import java.util.HashMap;
import java.util.LinkedList;

import org.junit.Test;

import category.*;

public class CategoryTests {
    
    CategoryCollection cm=null;
    CategoryCore core=null;

	@Test
	public void testCreateCollection(){
		cm = new CategoryCollection();
		assertNotNull(cm);
	}
	
	@Test
    public void testCreateCore(){
        core = new CategoryCore();
        assertNotNull(core);
    }
	
	@Test
	public void testCreateCategory(){
	    Category c=new Category();
	    assertNotNull(c);
	}
	
	@Test
    public void testCreateCategoryName(){
        Category c=new Category("Nome");
        assertEquals(c.getName(), "Nome");
    }
}
	
	


